package com.kly.sc.api.application.constant;

public enum ApiRedisKeys {
    NEW_USER(1,"newUser_{}","新用户key"),

    NEW_USER_BROWSE(50,"newUserBrowse_{}","新用户会话"),

    NEW_USER_LIKE(20,"newUserLike_{}","新用户like"),

    NEW_USER_FIRST_CHAT(5,"newUserFirstChat_{}","新用户破冰会话"),

    USER_BROWSE(20,"UserBrowse_{}","用户会话"),

    USER_LIKE(5,"UserLike_{}","用户like"),

    USER_FIRST_CHAT(2,"UserFirstChat_{}","用户破冰会话"),


    USER_MEMBER(1,"userMember_{}","会员"),

    USER_CONVERSATION_MESSAGE(100,"user_conversation_message_{}_{}","用户消息条数"),

    USER_VALID_CONVERSATION(5,"user_valid_conversation_{}","用户有效会话"),

    USER_DEEP_CONVERSATION(30,"user_deep_conversation_{}","用户深度会话"),

    VIEW_PRIVATE_ALBUMS(1,"viewPrivateAlbums_{}_{}","已查看私密图片"),

    NOT_VIEWED_PRIVATE_ALBUM(1,"notViewPrivateAlbums_{}_{}","未查看私密图片"),

    USER_ONLINE_STATUS(1,"userOnlineStatus_{}","是否在线"),

    USER_ONLINE_QUEUE(1,"userOnlineQueue_{}","user在线队列"),

    USER_ONLINE_LOCK(1,"userOnlineLock_{}","user在线队列请求锁"),

    CHAT_USER_ONLINE_QUEUE(1,"chatUserOnlineQueue_{}","chat非在线队列"),

    CHAT_USER_ONLINE_LOCK(1,"chatUserOnlineLock_{}","chat在线队列请求锁"),


    FIRST_FLASH_CHAT(1,"first_Flash_chat_{}","第一次直接会话"),

    FIRST_VIEW_PRIVATE_VIDEOS(1,"first_private_videos_{}","第一次查看私密视频"),

    FIRST_VIEW_PRIVATE_PHOTOS(1,"first_private_photos_{}","第一次查看私密相册"),

    USER_REDUCE_BENEFITS(1,"reduce_benefits_{}_{}","福利扣减"),

    USER_SEND_LATEST_TIME(1,"user_latest_time_{}","用户发送消息时间"),

    PAY_TOKEN(1,"pay_token_{}","支付token"),

    CUSTOMER_SERVICE_USER(1,"customer_service_user_{}","客服用户"),

    HOMEPAGE_BROWSE(5,"homepage_browse_user_{}_{}","用户浏览首页记录"),

    PHONE_VERIFICATION_CODE(1,"phone_verification_code_{}_{}","手机验证码"),

    PHONE_VERIFICATION_CODE_NUMBER(10,"phone_verification_code_number_{}","验证码发送次数"),

    USER_LOGIN_TYPE(1,"user_login_type_{}","用户登录类型"),

    USER_UPLOAD_IMAGE_LOCK(1,"user_upload_image_{}","1秒内防止用户重复上传"),

    SMS_PROVIDER(1,"sms_provider","短信供应商类型"),

    USER_CONSUME_RECORD_LOCK(1,"user_consume_record_{}_{}","5分钟内防止用户消费记录重复生成"),

    WHITE_USER(1,"white_user","白名单"),
    PP_UNLOCK(3600,"user_unlock_{}","解锁锁定"),
    ;
//    public static final String NEW_USER="newUser_{}";
//
//    public static final String NEW_USER_BROWSE="newUserBrowse_{}";
//
//    public static final String NEW_USER_LIKE="newUserLike_{}";
//
//    public static final String NEW_USER_FIRST_CHAT="newUserFirstChat_{}";


    private Integer key;

    private String value;
    
    private String describe;

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    ApiRedisKeys(Integer key, String value, String describe) {
        this.key = key;
        this.value = value;
        this.describe = describe;
    }
}
